package com.itheima.reggie.service;

import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Category;

/**
 * @author:YZN
 * @date:2022/12/30
 * @description:
 */
public interface CategoryService {
    R addCategory(Category category);

    R findpage(Integer page, Integer pageSize);

    R deleteById(Long ids);

    R updateCategory(Category category);

    R list(Integer type);
}
